#include "linearmath/btMotionState.h"

class MyKinematicMotionState : public btMotionState {
public:
	MyKinematicMotionState(const btTransform &initialpos) { mPos1 = initialpos; }
	virtual ~ MyKinematicMotionState() { }
	virtual void getWorldTransform(btTransform &worldTrans) const { worldTrans = mPos1; }
	void setKinematicPos(btTransform &currentPos) { mPos1 = currentPos; }
	virtual void setWorldTransform(const btTransform &worldTrans) { PRINT("dyl"); }

protected:
	btTransform mPos1;
};